#include <iostream>

bool parz(int n) {
    if (n <= 1)
        return false;
    if ( n % 2 == 0 )
        return false;
    for (int j = 3; j * j <= n; j+=2)
         if (n % j == 0) return false;
    return true;
}
int main(){
	int n = 0;
	for(int i=0;i<=3;++i){
		std::cout << "nermucel tiv: ";
		std::cin >> n;
		if(parz(n)==true){
			std::cout << "parz e!\n";
		}else{
			std::cout << "parz che!\n";
		}
	}
	return 0;
}

